#
# Be sure to run `pod lib lint AlipaySDK_ZF.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'AlipaySDK_ZF'
  s.version          = '15.2.0.1'
  s.summary          = "Alipay SDK for iOS."
  s.homepage         = "https://b.alipay.com/newIndex.htm"
  s.license          = {
    :type => 'Copyright',
    :text => <<-LINCENSE
      支付宝(中国)网络技术有限公司 ^? 版权所有.
      LINCENSE
  }
  s.author            = { "AliPay" => "http://www.alipay.com/" }
  s.requires_arc      = true

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
this podspec will update by alipaySDK, it's include alipaySDK. good for iosdeveloper who user alipay.
                       DESC
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.source           = { :git => 'https://git.oschina.net/zify/AlipaySDK_ZF.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '7.0'
  # s.source_files = 'AlipaySDK_ZF/Classes/**/*'

  # s.resource_bundles = {
  #   'AlipaySDK_ZF' => ['AlipaySDK_ZF/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks        = 'CoreTelephony', 'SystemConfiguration', 'CoreMotion'
  s.libraries         = 'z', 'c++'

  s.default_subspec   = 'Core'
  s.subspec "Core" do |core|
    # core.source_files = 'AlipaySDK.framework/Headers/**/*.h'
    core.resources    = 'AlipaySDK.bundle'
    core.vendored_frameworks = 'AlipaySDK.framework'
    # core.public_header_files = 'AlipaySDK.framework/Headers/**/*.h'
  end
  #
  # s.subspec "Order" do |order|
  #   order.source_files = 'sources/order/**/*.{h,m}'
  #   order.dependency 'AlipaySDK-2.0/Core'
  #   order.dependency 'OpenSSL'
  #   order.dependency 'PupaFoundation'
  # end
  # s.dependency 'AFNetworking', '~> 2.3'
end
